#ifndef __FUNCOBJECTPANEL_H__
#define __FUNCOBJECTPANEL_H__

#include "../workbasepanel.h"
#include "data/sceneobjectinfo.h"

class CPreviewCanvas;
class CFuncObjectPanel: public CWorkBasePanel{
public:
    static CFuncObjectPanel* GetInterface();
    CFuncObjectPanel( float fLeft, float fTop, float fWidth, float fHeight );
    virtual ~CFuncObjectPanel();
    virtual void Init();
    virtual void Final();
    virtual int32 Update( int32 nDelta, float fDelta );
    virtual int32 Render();
    virtual void Enter();
    virtual void Leave();
    //const char* GetSelectedFile();
    struct SSceneObjectConfigInfo* GetSelectedFileInfo();

private:
    CPreviewCanvas* m_pPreviewCanvas;

    SSceneObjectConfigInfo m_sPositionFlagSOCFGInfo;
};

#endif